Component({
  properties: {
    user: {}
  },
  data: {
    hasError: false
  },

  methods: {
    imageError () {
      this.setData({
        hasError: true
      })
    }
  }
})
